{module module=$mid id=$id return=ttt}
<?php $fenxiangtu=dr_site_value('fenxiangtu');?>
{php $user=dr_member_info($ttt.uid);}
{php $imgs = dr_get_content_img($ttt.neirong);}
{php $urls = SITE_URL.'index.php?s='.$mid.'&c=show&id='.$id;}
<!--data-remodal-id="modal" role="dialog"-->
<div class="remodal"  role="dialog">
    <div id="loader_wrap">
        <div id="loader" class="square"></div>
        <div>分享海报生成中</div>
    </div>
    <button data-remodal-action="close" class="remodal-close d-zuo-10" aria-label="Close"></button>
    <div>
        <div class="poster-container " id="poster_wrap" style="display: inline-block;">
            <div class="poster d-beijing-baise">
                <div class="d-kuan " style="height: 230px;width: 100%;background-color: {if $ttt.beijingyanse}{$ttt.beijingyanse}{else}#58b87e{/if}">
					<div class="d-kuan d-shengcheng" style="height: 230px;width: 100%;" >
						
						<div class="col-md-12 col-xs-12 d-waigao-20 d-xia-20 d-div-zou  d-buhuanhang">
							<div class=" d-yuanjiao-10">
								{if $ttt.thumb}
								<img class="d-yuanjiao-20 d-kuan-70 d-neikuang-10" src="{dr_get_file($ttt.thumb)}" height="70" width="70"/>
								{else}
								<img class="d-yuanjiao-20 d-kuan-70 d-neikuang-10" src="{HOME_THEME_PATH}quan/img/xinping.png" height="70" width="70"/>
								{/if}
							</div>
							<div class="d-zuo-10">
								<div class="d-jiacu d-wenzi-16 d-zitiyanse-bai-100">{$ttt.title}</div>
								<div class="d-wenzi-14 d-zitiyanse-bai d-wenzi-touming-60 d-buhuanhang">
									<span >
										帖子 
									    {count action=table table=1_quan_form_son cid=$id return=tiezi}
									    {$tiezi_count}
									</span> 
									<span class="d-buhuanhang d-zuo-10"> 会员 <div class="d-zuo-10" {if $member} id="module_joins_{$id}"{/if}>{intval($ttt.joins)}</div></span>
								</div>
								<div class="d-wenzi-14 d-zitiyanse-bai d-buhuanhang">
									<a href="{d_huiyuan_url($uid)}">
									<!--img src="{dr_avatar($uid)}" width="25" height="25" class="d-touxiang-10"/-->
									<span class="d-zuo-100">
									{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $ttt.uid)->get()->getRowArray();}
									圈主：{php $user=dr_member_info($ttt.uid);}
										{if $userweixin.nickname}
											{$userweixin.nickname}
										{elseif $user.name}
											{$user.name}
										{else}
											{$user.username}
										{/if}
									</span>
									</a>
									
								</div>
							</div>
						</div>
						<div class="d-kuan d-neikuang-10">
							{php $i=1;}
							{mform module=$mid form=son order=inputtime cid=$id shenhe=1 num=3 return=tt}
								<div class="d-neikuang-5-10 d-wenzi-16  d-chaochu">
									<span class="d-wenzi-12 d-biaoqian-tu d-yuanjiao-5">推荐</span>
									<span class="d-quxian-0 d-zuo-10 d-a-bailian">
										<a href="{dr_son_url($tt)}">
											{if $tt.title} 
											{dr_strcut($tt.title, 10)}
											{else} 
											{dr_strcut(dr_clearhtml($tt.neirong), 10)}
											{/if}
										</a>
									</span>
								</div>
								{php $i++;}
							{/mform}
						</div>
					</div>
					

                    
                </div>       
				<div class="d-clear"></div>
                <div class="poster-content uk-clearfix d-beijing-baise">
                    <div class="avatar">
						<img class="uk-border-circle d-yuanjiao-50" src="{dr_avatar($ttt.uid)}" width="30" height="30" alt="circle">
                        <span class="d-zitiyanse-hongse">
						{if $user.name}
                        	{$user.name}
                        {elseif $userweixin.nickname}
                        	{$userweixin.nickname}
                        {else}
                        	{$user.username}
                        {/if}
						
						</span>
                    </div>
                    <div class="time">
                        {dr_date($ttt.inputtime)}
                    </div>
					
                </div>
				<div class="d-clear"></div>
				<div class="desc">{dr_strcut($ttt.description, 92)}</div>
                <div class="poster-foot d-beijing-baise">
                    <div class="poster-logo d-buhuanhang">
						
						<div class="d-kuan-70">
							<img src="{SITE_LOGOICO}" >
						</div>
                        
                        <div class="text uk-clearfix">
							识别右侧二维码，进入<br>
							<span>{$ttt.title} 圈子</span>
							<br>
							精彩等着您...
						</div>
                    </div>
                    <div class="qcode">
                        <img src="{dr_qrcode(dr_url_prefix($urls))}">
                    </div>

                </div>
				<div class="d-clear"></div>
            </div>
        </div>
</div>
</div>
{/module}
<style>
.d-shengcheng {
	width: 70px;
	height: 70px;
}
.d-shengcheng img {
	width: 70px;
	height: 70px;
}
.d-a-bailian a {
	color: #fff;
}
.d-biaoqian-tu {
	padding: 0px 10px 3px 10px;

	background:rgba(255, 255, 255, 0.1);
	color: #ffffff;
}
</style>